import request from '@/utils/request';

// 反馈列表
export function feedback (params) {
  return request({
    url: 'v1/feedback/list',
    method: 'get',
    params
  });
}

// 系统参数列表
export function settingList (params) {
  return request({
    url: 'v1/setting/list',
    method: 'get',
    params
  });
}

// 系统参数编辑
export function settingEdit (data) {
  return request({
    url: '/v1/setting/edit',
    method: 'post',
    data: data
  });
}

// 系统消息列表
export function noticeList (params) {
  return request({
    url: 'v1/notice/list',
    method: 'get',
    params
  });
}
// 新增系统消息
export function noticeAdd (data) {
  return request({
    url: 'v1/notice/add',
    method: 'post',
    data: data
  });
}


